{% extends 'base.html' %}
{% import 'bootstrap/wtf.html' as wtf %}
{% import 'includes/_macros.html' as macros %}
{% block head %}
{{ super() }}
{% endblock head %}
{% block content %}
{% include 'includes/_info.html' %}
{# <div class="row">
	<div class="col-md-4">
<img class="img-rounded " src="{{ user.avatar }}">
</div>
<div class="col-md-8">
<h2>个人信息：</h2>
	<p>用户名:{{user.username}}</p>	
	{% if user.real_name or user.location %}
	<p>
		{% if user.real_name %}	{{ user.real_name}} {% endif %}
		{% if user.location %}
	 From <a href="http://maps.google.com/?q={{ user.location }}">{{ user.location }}</a>
		{% endif %}
	</p>
	{% endif %}
	{% if user.about_me %} 
	<p>个人说明 ：{{user.about_me}}</p>
	{% endif %}
	<p>
		注册时间:{{ moment(user.register_date).format('L')}},
		上一次在线:{{ moment(user.last_seen).fromNow()}}.	
	</p>
	{% if user == current_user %}
	<a class="btn btn-default" href="{{ url_for('.edit_profile')}}">
	编辑资料
	</a>
	{% endif %}
	</div>
</div> #}
    {% include 'includes/_posts.html' %}
    <div class="pagination">
        {{ macros.pagination_widget(pagination,'.index')}}
    </div>
{% endblock %}
